package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 叙词表数据加工对象 sys_thesauri_word
 * 
 * @author ruoyi
 * @date 2022-08-24
 */
public class SysThesauriWord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 叙词名称 */
    @Excel(name = "叙词名称")
    private String wordName;

    /** 是否族首词 */
    private String isTopTerm;

    /** 叙词拼音 */
    private String wordPinyin;

    /** 叙词英文 */
    private String wordEnglish;

    /** 叙词分类 */
    private String thesauriWordCategoryIds;

    /** 含义注释 */
    private String scopeNote;

    /** 用法注释 */
    private String usageNote;

    /** 历史注释 */
    private String historicalNote;

    /** 叙词父节点 */
    @Excel(name = "叙词父节点")
    private Long wordPid;

    /** 是否正式主题词 */
    private Long wordFormal;

    /** 关联叙词表模块表 */
    private Long thesauriWordModuleId;

    @TableField(exist = false)
    private List<SysThesauriWordReference> SysThesauriWordReferenceList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWordName(String wordName) 
    {
        this.wordName = wordName;
    }

    public String getWordName() 
    {
        return wordName;
    }
    public void setIsTopTerm(String isTopTerm) 
    {
        this.isTopTerm = isTopTerm;
    }

    public String getIsTopTerm() 
    {
        return isTopTerm;
    }
    public void setWordPinyin(String wordPinyin) 
    {
        this.wordPinyin = wordPinyin;
    }

    public String getWordPinyin() 
    {
        return wordPinyin;
    }
    public void setWordEnglish(String wordEnglish) 
    {
        this.wordEnglish = wordEnglish;
    }

    public String getWordEnglish() 
    {
        return wordEnglish;
    }
    public void setThesauriWordCategoryIds(String thesauriWordCategoryIds) 
    {
        this.thesauriWordCategoryIds = thesauriWordCategoryIds;
    }

    public String getThesauriWordCategoryIds() 
    {
        return thesauriWordCategoryIds;
    }
    public void setScopeNote(String scopeNote) 
    {
        this.scopeNote = scopeNote;
    }

    public String getScopeNote() 
    {
        return scopeNote;
    }
    public void setUsageNote(String usageNote) 
    {
        this.usageNote = usageNote;
    }

    public String getUsageNote() 
    {
        return usageNote;
    }
    public void setHistoricalNote(String historicalNote) 
    {
        this.historicalNote = historicalNote;
    }

    public String getHistoricalNote() 
    {
        return historicalNote;
    }
    public void setWordPid(Long wordPid) 
    {
        this.wordPid = wordPid;
    }

    public Long getWordPid() 
    {
        return wordPid;
    }
    public void setWordFormal(Long wordFormal) 
    {
        this.wordFormal = wordFormal;
    }

    public Long getWordFormal() 
    {
        return wordFormal;
    }
    public void setThesauriWordModuleId(Long thesauriWordModuleId) 
    {
        this.thesauriWordModuleId = thesauriWordModuleId;
    }

    public Long getThesauriWordModuleId() 
    {
        return thesauriWordModuleId;
    }

    public List<SysThesauriWordReference> getSysThesauriWordReferenceList() {
        return SysThesauriWordReferenceList;
    }

    public void setSysThesauriWordReferenceList(List<SysThesauriWordReference> sysThesauriWordReferenceList) {
        SysThesauriWordReferenceList = sysThesauriWordReferenceList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wordName", getWordName())
            .append("isTopTerm", getIsTopTerm())
            .append("wordPinyin", getWordPinyin())
            .append("wordEnglish", getWordEnglish())
            .append("thesauriWordCategoryIds", getThesauriWordCategoryIds())
            .append("scopeNote", getScopeNote())
            .append("usageNote", getUsageNote())
            .append("historicalNote", getHistoricalNote())
            .append("wordPid", getWordPid())
            .append("wordFormal", getWordFormal())
            .append("thesauriWordModuleId", getThesauriWordModuleId())
            .toString();
    }
}
